<template>
  <div id="footer">
    <div class="wrap">
      <div class="p">
        Copyrights © 广州安品网络科技有限公司. All Rights Reserved.
      </div>
      <div
        class="net-record"
        style="cursor:pointer;"
        @click="skip('https://beian.miit.gov.cn')"
      >
        <div class="icp">粤ICP备2020095099号-1
</div>
        <div class="item">
          <img src="./police.png" class="img" alt />
          <a class="p">粤公网安备</a>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },

  methods: {
    skip(url) {
      // location.href = url;
      window.open(url);
    }
  }
};
</script>

<style lang="scss" scoped>
#footer {
  background: #333333;
  justify-content: flex-start;

  .wrap {
    margin: auto;
    text-align: center;
    justify-content: flex-start;
    padding-top: 25px;
    padding-bottom: 5px;

    .p {
      padding-top: 10px;
      font-size: 0.7rem;
      color: #ffffff;
      text-align: center;
    }
    .net-record {
      padding-top: 10px;
      display: inline-flex;
      align-items: center;

      .icp {
        font-size: 0.7rem;
        color: #ffffff;
        height: auto;
      }

      .item {
        padding-left: 50px;
        position: relative;
        align-items: center;
        display: inline-flex;

        .img {
          position: relative;
        }

        .p {
          margin-top: -10px;
          padding-left: 10px;
          width: 100%;
          font-size: 0.5rem;
          color: #ffffff;
        }
      }
    }
  }
}
</style>
